﻿using System;

namespace Marmat.Forms
{
    public class BindingFieldInfo
    {

        /// <summary>
        /// 名称
        /// </summary>
        /// <returns></returns>
        public string Name { get; set; }

        /// <summary>
        /// 显示文本
        /// </summary>
        /// <returns></returns>
        public string Caption { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        /// <returns></returns>
        public Type DataType { get; set; }

        /// <summary>
        /// 是否只读
        /// </summary>
        /// <returns></returns>
        public bool ReadOnly { get; set; }
    }
}